package me.spring.cloud.components.starter.oauth2.url.ignoreurl;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import me.spring.cloud.components.starter.oauth2.url.dynamic.DynamicIgnoreUrlConfiguration;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@ConditionalOnProperty(name = "security.ignore.enable", havingValue = "true")
@EnableApolloConfig(DynamicIgnoreUrlConfiguration.namespaces)
@Import(DynamicIgnoreUrlConfiguration.class)
public class IgnoreUrlConfiguration {
}